package com.bsoft.gol.hcs.specialist.dao;

import ctd.persistence.annotation.DAOMethod;
import ctd.persistence.annotation.DAOParam;
import ctd.persistence.support.hibernate.HibernateSupportDelegateDAO;
import hcn.specialist.BaseComplaintTrace;

import java.util.List;

/**
 * @Author zsf
 * @Date 2023/10/19 0019 9:31
 * @PackageName:com.bsoft.gol.hcs.specialist.dao
 * @ClassName: BaseComplaintTraceDAO
 * @Description: 投诉流程跟踪表
 * @Version 4.0.02
 */
public abstract class BaseComplaintTraceDAO extends HibernateSupportDelegateDAO<BaseComplaintTrace> {
    public BaseComplaintTraceDAO() {
        this.setKeyField("traceId");
    }

    @DAOMethod(sql = " from BaseComplaintTrace where complaintId=:complaintId  order by createTime asc ")
    public abstract List<BaseComplaintTrace> findComplaintTrace(@DAOParam("complaintId") String complaintId);

}
